﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp5
{
    class Class2
    {
        static string Teachers { get; set; }
        string Studentsname { get; set; }


        public Class2(string studentname)
        {
            Teachers = "唐僧";
            this.Studentsname = studentname;
        }

        public void User()
        {
            Console.WriteLine("大家好，我是{0}，俺老师叫{1}", this.Studentsname, Teachers);
        }
    }
}
